package org.erp.spu.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import org.erp.common.basic.BaseEntity;

/**
 * 发布项信息表(SpuReleaseInfo)表实体类
 *
 * @author dingding
 * @since 2025-11-06 17:00:48
 */
@SuppressWarnings("serial")
@Data
public class SpuReleaseInfo extends BaseEntity{

    //发布组id
    private Long releaseGroupId;
    //发布组名称
    @Excel(name = "模块")
    private String releaseGroupName;
    //id
    @Excel(name = "发布项ID")
    @TableId(type = IdType.AUTO)
    private Long id;
   //发布项名字
   @Excel(name = "发布项")
    private String name;
   //是否为父级 1是0否
    private Integer type;
    //父级id
    private Long parentId;
   //父级名称
    private String parentName;
   //排序值
    private Integer sort;
   //状态 1启用 0禁用
    private String status;


   //逻辑删除 0存在 1删除
   @TableLogic
    private Integer delFlag;


    //品类id
    private  Long  categoryId;
    //品类名称
    private String categoryName;



}

